﻿<phone:PhoneApplicationPage 
    x:Class="AllenalaMente.Menu.OptionsMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Landscape" Orientation="Landscape"
    mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="800"
    shell:SystemTray.IsVisible="False">

  <!--LayoutRoot è la griglia radice in cui viene inserito tutto il contenuto della pagina-->
  <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="*"/>
    </Grid.RowDefinitions>

    <!--TitlePanel contiene il nome dell'applicazione e il titolo della pagina-->
    <StackPanel x:Name="TitlePanel" Grid.Row="0" >
      <TextBlock x:Name="PageTitle" Text="Title" Style="{StaticResource PhoneTextTitle1Style}" Height="72" FontSize="50" />
    </StackPanel>

    <!--ContentPanel - inserire ulteriore contenuto qui-->
    <Grid x:Name="ContentPanel" Margin="0,80,0,0" Grid.RowSpan="2" Width="650" HorizontalAlignment="Left">
      <!--<Slider Height="78" HorizontalAlignment="Left" Margin="24,41,0,0" Name="sliderVolume" VerticalAlignment="Top" Width="298" ValueChanged="sliderVolume_ValueChanged" />-->
      <!--<Button Template="{StaticResource GreenTemplate}" Content="Audio ON" Height="92" HorizontalAlignment="Left" Margin="53,94,0,0" Name="buttonAudio" VerticalAlignment="Top" Width="230" FontSize="16" Click="buttonAudio_Click" />-->
      <!--<TextBlock Height="27" HorizontalAlignment="Left" Margin="33,21,0,0" Name="textBlockVolume" Text="Volume" VerticalAlignment="Top" Width="145" />-->
      <Rectangle RadiusX="30" RadiusY="30" Height="309" Fill="Black" Margin="422,-17,-53,108"></Rectangle>

      <Image Source="/AllenalaMente;component/Assets/Images/Puzzle/puzzle2.jpg" Height="283" Margin="440,-1,-35,118"></Image>


      <Button Template="{StaticResource RedTemplate}" Content="Reset Game" FontSize="16" Height="81" HorizontalAlignment="Left" Margin="33,299,0,0" Name="buttonReset" VerticalAlignment="Top" Width="267" Click="buttonReset_Click" />
      <Button Template="{StaticResource GreenTemplate}" Content="Change Name" FontSize="16" Height="173" HorizontalAlignment="Left" Margin="394,257,0,0" Name="buttonChangeName" VerticalAlignment="Top" Width="212" Click="buttonChangeName_Click" />
      <Rectangle RadiusX="30" RadiusY="30" Height="86" Fill="Black" Margin="396,227,44,87"></Rectangle>
        <Rectangle RadiusX="30" RadiusY="30" Width="200" Height="73" Fill="White" Margin="406,240,44,87"></Rectangle>
      <TextBlock Height="30" TextAlignment="Center" HorizontalAlignment="Left" Foreground="Black" FontFamily="Comic Sans MS" Margin="422,262,0,0" Name="textBlockPlayerName" Text="PlayerName" VerticalAlignment="Top" Width="174" />
    </Grid>

      <Grid.Background>
      <ImageBrush ImageSource="/AllenalaMente;component/Assets/Images/Backgrounds/SfondoGeneric.jpg" />
    </Grid.Background>
  </Grid>

  <!--Codice di esempio che illustra l'utilizzo di ApplicationBar-->
  <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Pulsante 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Pulsante 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Voce di menu 1"/>
                <shell:ApplicationBarMenuItem Text="Voce di menu 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
